import fetch from "@/utils/fetch"

export function loginByUsername(loginname,pwd){
    const data={
        loginname,
        pwd
    }
    return fetch({
        url:'/login&username=',
        method:'get',
        headers: {'content-type': 'application/json;charset=UTF-8'},
    })
}